# list1 = [1,2,3,4,5,6]
# it = iter(list1)
# print(list1,it,type(it))
#
# dir(it)
# # with open("aa.txt","r") as f:
# f = open("aa.txt","r")
# print(f,type(f))
# print(dir(f))
# for i in f:
#     print(i,end=" ")
#
# my_list = []
# for x in range(1000):
#     my_list.append(x*x)
#
# my_list = [x * x for x in range(1000)]

# singers = ["dengjianguo","cali","zhuzhibo","yinxiang","zengfenghua"]
# def sing():
#     for i in singers:
#         print("有请歌手{}演唱歌曲".format(i))
#         yield i
# geshou = sing()
# print(dir(geshou),type(geshou),geshou.__next__())
# geshou1 = next(geshou)
# geshou2 = next(geshou)
# geshou3 = next(geshou)
# print(geshou1,geshou2,geshou3)
# print(next(geshou))
# print(next(geshou))
# for i in geshou:
#     print(i)
#yield和return有什么区别？


# data = {
#     'offset': "offset",
#     'format': 'json',
#     'keyword': "keyword",
#     'autoload': 'true',
#     'count': '20',
#     'cur_tab': 1
# }
#
# print(data.get("count"))

x = 10
if x > 20:
    pass
else:
    pass




